﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ExtendPropertyLib;
using ExtendPropertyLib.WPF;
namespace ExORMDesginer.Models
{
    /// <summary>
    /// SQL语句编辑器Tab页数据
    /// </summary>
    public class SQLEditerItemInfo : BusinessInfoBase<SQLEditerItemInfo>
    {
        public override void OnDoCreate(ExtendObject item, params object[] args)
        {
            base.OnDoCreate(item, args);
        }

     

        
        public static ExtendProperty SQLProperty = RegisterProperty(v => v.SQL);
        /// <summary>
        /// 待执行和显示的SQL语句
        /// </summary>
        public string SQL { set { SetValue(SQLProperty, value); } get { return (string)GetValue(SQLProperty); } }

        
        public static ExtendProperty TitleProperty = RegisterProperty(v => v.Title);
        /// <summary>
        /// 标题
        /// </summary>
        public string Title { set { SetValue(TitleProperty, value); } get { return (string)GetValue(TitleProperty); } }

        public object View { set; get; }

        public object Tag { set; get; }

    }
}
    